package com.mvc.service.impl;

import com.mvc.entity.HomeLbt;
import com.mvc.mapper.LbtMapper;
import com.mvc.service.LbtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName LbtServiceImpl
 * @Description TODO
 * @Author Roc
 * @Date 2021/11/27 16:26
 * @Version 1.0
 **/
@Service
public class LbtServiceImpl implements LbtService {

    @Autowired
    private LbtMapper lbtMapper;

    @Override
    public List<HomeLbt> listAll(HomeLbt homeLbt) {
        return lbtMapper.listAll(homeLbt);
    }

    @Override
    public Integer insert(HomeLbt homeLbt) {
        return lbtMapper.insert(homeLbt);
    }

    @Override
    public Integer update(HomeLbt homeLbt) {
        return lbtMapper.update(homeLbt);
    }

    @Override
    public Integer del(Integer id) {
        return lbtMapper.del(id);
    }
}
